<h2>DESCRIPTION</h2>

<em>v.out.svg</em> converts GRASS vector data to SVG (Scalable Vector Graphics) code notation.
In particular, it
<ul>
<li>converts GRASS line, boundary, area, point, centroid objects to SVG 
  &lt;path /&gt;, &lt;circle /&gt; elements,</li>
<li>reduces coordinate precision in SVG-output to save bandwidth,</li>
<li>extracts GRASS attributes to gg:name="value" attributes.</li>
</ul>

The <em>precision</em> parameter controls the number of decimals for coordinates
output (<em>precision=0</em> corresponds to integer precision in the output SVG file).

<h2>EXAMPLE</h2>

<p>Export <b>polygons</b> from GRASS vector map soils (Spearfish sample data) to SVG format:
<div class="code"><pre>
v.out.svg input=soils output=/tmp/output.svg type=poly
</pre></div>

<p>Export <b>lines</b> from GRASS vector map t_hydro (Spearfish sample
data) to SVG format, set coordinate precision to 0:
<div class="code"><pre>
v.out.svg input=t_hydro output=/tmp/output.svg type=line precision=0
</pre></div>

<p>Export <b>points</b> from GRASS vector map archsites (Spearfish sample
data) to SVG format, include attribute <b>str1</b> (name):
<div class="code"><pre>
v.out.svg input=archsites output=/tmp/output.svg type=point precision=0 attrib=str1
</pre></div>

<h2>REFERENCES</h2>

<a href="http://svg.cc/grass/index.html">Modul v.out.svg at svg.cc</a>
<br>
<a href="http://www.w3.org/Graphics/SVG/">SVG (Scalable Vector Graphics) at w3c.org</a>


<h2>SEE ALSO</h2>

<em><a href="v.out.ogr.html">v.out.ogr</a></em>

<h2>AUTHOR</h2>

Klaus Foerster (klaus svg.cc), Innsbruck, Austria

<!--
<p>
<i>Last changed: $Date$</i>
-->
